<template>
	<cl-select v-bind="$props" v-on="$listeners" :value="value">
		<el-option v-for="item in list" :key="item.value" :label="item.label" :value="item.value" />
	</cl-select>
</template>
<script>
import Select from "@/cool/modules/base/components/select";
export default {
	name: "cart-duration",
	props: Select.props,
	computed: {
		list() {
			let hour = 4;
			let list = [];
			for (let i = 1; i <= hour * 2; i++) {
				list.push({ value: i * 30, label: i / 2 + "小时" });
			}
			return list;
		}
	}
};
</script>
